<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Agile Modbus: RTU Exported Constants</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Agile Modbus
   &#160;<span id="projectnumber">1.1.4</span>
   </div>
   <div id="projectbrief">Lightweight modbus protocol stack.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('group___r_t_u___exported___constants.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">RTU Exported Constants<div class="ingroups"><a class="el" href="group___r_t_u.html">RTU</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for RTU Exported Constants:</div>
<div class="dyncontent">
<div class="center"><img src="group___r_t_u___exported___constants.png" border="0" usemap="#agroup______r__t__u______exported______constants" alt=""/></div>
<map name="agroup______r__t__u______exported______constants" id="agroup______r__t__u______exported______constants">
<area shape="rect" title=" " alt="" coords="101,5,280,31"/>
<area shape="rect" href="group___r_t_u.html" title=" " alt="" coords="5,5,53,31"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga0acfe5200e87289af0e996e28a5014ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_u___exported___constants.html#ga0acfe5200e87289af0e996e28a5014ef">AGILE_MODBUS_RTU_HEADER_LENGTH</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ga0acfe5200e87289af0e996e28a5014ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace39790c52a0a34e637c9ecf35b2ddc1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_u___exported___constants.html#gace39790c52a0a34e637c9ecf35b2ddc1">AGILE_MODBUS_RTU_PRESET_REQ_LENGTH</a>&#160;&#160;&#160;6</td></tr>
<tr class="separator:gace39790c52a0a34e637c9ecf35b2ddc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac42d8c18189788ecbac043e2235944db"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_u___exported___constants.html#gac42d8c18189788ecbac043e2235944db">AGILE_MODBUS_RTU_PRESET_RSP_LENGTH</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:gac42d8c18189788ecbac043e2235944db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5e4f433bd581c089fa6d00c1f8b4e50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_u___exported___constants.html#gaf5e4f433bd581c089fa6d00c1f8b4e50">AGILE_MODBUS_RTU_CHECKSUM_LENGTH</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:gaf5e4f433bd581c089fa6d00c1f8b4e50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78548481d5cdf9c62b7b7a619be62507"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___r_t_u___exported___constants.html#ga78548481d5cdf9c62b7b7a619be62507">AGILE_MODBUS_RTU_MAX_ADU_LENGTH</a>&#160;&#160;&#160;256</td></tr>
<tr class="separator:ga78548481d5cdf9c62b7b7a619be62507"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga0acfe5200e87289af0e996e28a5014ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0acfe5200e87289af0e996e28a5014ef">&#9670;&nbsp;</a></span>AGILE_MODBUS_RTU_HEADER_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AGILE_MODBUS_RTU_HEADER_LENGTH&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="agile__modbus__rtu_8h_source.html#l00032">32</a> of file <a class="el" href="agile__modbus__rtu_8h_source.html">agile_modbus_rtu.h</a>.</p>

</div>
</div>
<a id="gace39790c52a0a34e637c9ecf35b2ddc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gace39790c52a0a34e637c9ecf35b2ddc1">&#9670;&nbsp;</a></span>AGILE_MODBUS_RTU_PRESET_REQ_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AGILE_MODBUS_RTU_PRESET_REQ_LENGTH&#160;&#160;&#160;6</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="agile__modbus__rtu_8h_source.html#l00033">33</a> of file <a class="el" href="agile__modbus__rtu_8h_source.html">agile_modbus_rtu.h</a>.</p>

</div>
</div>
<a id="gac42d8c18189788ecbac043e2235944db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac42d8c18189788ecbac043e2235944db">&#9670;&nbsp;</a></span>AGILE_MODBUS_RTU_PRESET_RSP_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AGILE_MODBUS_RTU_PRESET_RSP_LENGTH&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="agile__modbus__rtu_8h_source.html#l00034">34</a> of file <a class="el" href="agile__modbus__rtu_8h_source.html">agile_modbus_rtu.h</a>.</p>

</div>
</div>
<a id="gaf5e4f433bd581c089fa6d00c1f8b4e50"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5e4f433bd581c089fa6d00c1f8b4e50">&#9670;&nbsp;</a></span>AGILE_MODBUS_RTU_CHECKSUM_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AGILE_MODBUS_RTU_CHECKSUM_LENGTH&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="agile__modbus__rtu_8h_source.html#l00036">36</a> of file <a class="el" href="agile__modbus__rtu_8h_source.html">agile_modbus_rtu.h</a>.</p>

</div>
</div>
<a id="ga78548481d5cdf9c62b7b7a619be62507"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga78548481d5cdf9c62b7b7a619be62507">&#9670;&nbsp;</a></span>AGILE_MODBUS_RTU_MAX_ADU_LENGTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define AGILE_MODBUS_RTU_MAX_ADU_LENGTH&#160;&#160;&#160;256</td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">   Modbus_Application_Protocol_V1_1b.pdf Chapter 4 Section 1 Page 5
   RS232 / RS485 ADU = 253 bytes + slave (1 byte) + CRC (2 bytes) = 256 bytes</pre> 
<p class="definition">Definition at line <a class="el" href="agile__modbus__rtu_8h_source.html#l00045">45</a> of file <a class="el" href="agile__modbus__rtu_8h_source.html">agile_modbus_rtu.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
